package com.deloitte.snap.service;

import java.util.List;

import com.deloitte.snap.dao.ProjectPhaseDeliverableMapDAOImpl;
import com.deloitte.snap.vo.ProjectPhaseDeliverableMapVO;

public class ProjectPhaseDeliverableMapService extends AbstractService{
	/**
	 * Doc Type bean name in WEB-INF/dataAccessContext.xml
	 */
	private final String DAO_NAME = "projectMasterDAO";
	/**
	 * Instance of DAO Class
	 */
	private final ProjectPhaseDeliverableMapDAOImpl projectMasterDAO = (ProjectPhaseDeliverableMapDAOImpl) getDAO(DAO_NAME);
	
	/**
	 * This method used to retrieve all different categories of document available in DB 
	 * 
	 * @return - Return the collection of document categories
	 */
	public List<ProjectPhaseDeliverableMapVO> findAllProjectPhaseDeliverableMaps(){
		List<ProjectPhaseDeliverableMapVO> projectMasters =  null;
		if(projectMasterDAO != null){
			projectMasters = projectMasterDAO.findAll();
		}
		return projectMasters;
	}
	
}
